package com.study.ui.test

import com.study.R
import com.study.app.app.BaseActivity
import com.study.databinding.ActivityTestBinding

class TestActivity : BaseActivity<TestVM, ActivityTestBinding>() {
    override fun layoutId() = R.layout.activity_test

    private val adapter by lazy { TestAdapter(this) }

    override fun initView() {
        adapter.submitList(VM.getTestBeanList())
    }

    override fun bind() {
        binding.adapter = adapter
    }
}